#ifndef VGAME_H
#define VGAME_H

#include <QMainWindow>
#include <QMdiArea>
#include <QMdiSubWindow>
#include <QIcon>

#include "VChat.h"
#include "VHUD.h"
#include "VMainMap.h"
#include "VSounds.h"
#include "../Models/MPictures.h"

class VGameMdi : public QMdiSubWindow
{

private:
    VMainMap *main_map;

public:
    VGameMdi(VMainMap *main_map);
    void keyPressEvent(QKeyEvent *event);
    void keyReleaseEvent(QKeyEvent *event);
};


class VGame : public QMainWindow
{

private:
    QMdiArea *central_widget;
    QMdiSubWindow *sub_chat;
    QMdiSubWindow *sub_HUD;
    QMdiSubWindow *sub_sounds;

    VChat *v_chat;
    VHUD *v_HUD;
    VMainMap *v_main_map;
    VSounds *v_sounds;

    VGameMdi *sub_main_map;

    QIcon *icon;

public:
    VGame();
    ~VGame();
};

#endif // VGAME_H
